package org.jeecg.modules.dataSlot.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 电解槽
 * @Author: jeecg-boot
 * @Date:   2023-02-12
 * @Version: V1.0
 */
@Data
@TableName("data_slot")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="data_slot对象", description="电解槽")
public class DataSlot implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private java.lang.Integer id;
	/**槽号*/
	@Excel(name = "槽号", width = 15)
    @ApiModelProperty(value = "槽号")
    private java.lang.String slotId;
	/**所属车间ID*/
	@Excel(name = "所属车间ID", width = 15, dictTable = "data_workshop", dicText = "workshop_name", dicCode = "workshop_id")
	@Dict(dictTable = "data_workshop", dicText = "workshop_name", dicCode = "workshop_id")
    @ApiModelProperty(value = "所属车间ID")
    private java.lang.Integer workshopId;
	/**所属工区ID*/
	@Excel(name = "所属工区ID", width = 15, dictTable = "data_area", dicText = "area_name", dicCode = "area_id")
	@Dict(dictTable = "data_area", dicText = "area_name", dicCode = "area_id")
    @ApiModelProperty(value = "所属工区ID")
    private java.lang.Integer areaId;
	/**语音id*/
	@Excel(name = "语音id", width = 15)
    @ApiModelProperty(value = "语音id")
    private java.lang.Integer groupId;
	/**槽状态 0:停槽 1:正常槽2焙烧*/
	@Excel(name = "槽状态 0:停槽 1:正常槽2焙烧", width = 15, dicCode = "data_slot_status")
	@Dict(dicCode = "data_slot_status")
    @ApiModelProperty(value = "槽状态 0:停槽 1:正常槽2焙烧")
    private java.lang.Integer status;
	/**起槽日期*/
	@Excel(name = "起槽日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "起槽日期")
    private java.util.Date startDate;
	/**端口号*/
	@Excel(name = "端口号", width = 15)
    @ApiModelProperty(value = "端口号")
    private java.lang.Integer port;
	/**槽IP*/
	@Excel(name = "槽IP", width = 15)
    @ApiModelProperty(value = "槽IP")
    private java.lang.String netboxIp;
	/**槽龄*/
	@Excel(name = "槽龄", width = 15)
    @ApiModelProperty(value = "槽龄")
    private java.lang.String age;
	/**槽类型 空 不区分 1 frist槽 2 非frist槽 3 综合利用槽*/
	@Excel(name = "槽类型", width = 15, dictTable = "data_slot_type", dicText = "type_name", dicCode = "type_id")
	@Dict(dictTable = "data_slot_type", dicText = "type_name", dicCode = "type_id")
    @ApiModelProperty(value = "槽类型 空 不区分 1 frist槽 2 非frist槽 3 综合利用槽")
    private java.lang.Integer typeId;
//	/**通道号*/
//	@Excel(name = "通道号", width = 15)
//    @ApiModelProperty(value = "通道号")
//    private java.lang.String netboxChannelId;
//	/**转换器中对应槽号*/
//	@Excel(name = "转换器中对应槽号", width = 15)
//    @ApiModelProperty(value = "转换器中对应槽号")
//    private java.lang.Integer netboxSlotId;
//	/**转换器id*/
//	@Excel(name = "转换器id", width = 15)
//    @ApiModelProperty(value = "转换器id")
//    private java.lang.Integer netboxId;
}
